<script setup lang="ts">
import { computed, inject,toRef } from 'vue';
const data: any = inject('data');
const info = computed(() => {
  return data.value.pc_prm_pb_list || {}

})
</script>
<template>
  <div class="h3 title">（3）居住信息</div>
  <table>
  <tbody>
    <tr>
      <th>编号</th>
      <th>居住地址</th>
      <th>住宅电话</th>
      <th>居住状况</th>
      <th>信息更新日期</th>
    </tr>
    <tr v-for="(item, i) in info" :key="i">
      <td>{{ i+1 }}</td>
      <td>{{ item.PB030Q01 }}</td>
      <td>{{ item.PB030Q02 }}</td>
      <td>{{ item.PB030D01 }}</td>
      <td>{{ item.PB030R01 }}</td>
    </tr>
  </tbody>
</table>
</template>